Skip to content

Add synchronization to coo_to_csr - #5640

Merged
rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
ChuckHastings:synchronize_coo_to_csr
Aug 31, 2026
Merged

rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
ChuckHastings:synchronize_coo_to_csr

Conversation

@ChuckHastings

Copy link
Copy Markdown
Collaborator

This legacy code is only used in MST and in some legacy python code. Performance is not critical.

We could add a handle so that we can all use the same stream, but that has breaking API implications. Simplest is to just add a synchronization call before leaving the function.

…m (no parameter to pass one in), so we need to synchronize
@copy-pr-bot

copy-pr-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ChuckHastings
ChuckHastings marked this pull request as ready for review August 28, 2026 18:42
@ChuckHastings
ChuckHastings requested a review from a team as a code owner August 28, 2026 18:42
@ChuckHastings ChuckHastings self-assigned this Aug 28, 2026
@ChuckHastings ChuckHastings added bug Something isn't working non-breaking Non-breaking change labels Aug 28, 2026

@bdice bdice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you plan to add a parameter (stream/handle/etc.) so that this function can be properly stream-ordered?

@seunghwak seunghwak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ChuckHastings

Copy link
Copy Markdown
Collaborator Author

Do you plan to add a parameter (stream/handle/etc.) so that this function can be properly stream-ordered?

There's an update to MST in the works in raft (NVIDIA/raft#3118). Once that's complete we'll be doing some testing within cugraph. I was going to use that as an opportunity to update some of the MST code in cugraph.

@ChuckHastings

Copy link
Copy Markdown
Collaborator Author

/merge

@rapids-bot
rapids-bot Bot merged commit 870c8cb into rapidsai:main Aug 31, 2026
157 of 159 checks passed
@ChuckHastings
ChuckHastings deleted the synchronize_coo_to_csr branch September 11, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants